/* eslint-disable import/prefer-default-export */
export const getLink = e => {
    if (e === '1') {
        return { to: '/personal/portal/recruit/task', query: {} };
    }
    if (e === '2') {
        return { to: '/personal/portal/recruit/demand', query: {} };
    }
    if (e === '3') {
        return { to: '/personal/portal/recruit/candidate', query: {} };
    }
    if (e === '4') {
        return {
            to: '/personal/portal/recruit/interview',
            query: { page: '2' }
        };
    }
    return { to: '/personal/portal/recruit/offer', query: {} };
};
export const getValue = e => e || '---';
